using Freshbooks.XmlSerializers;
using RestSharp;

namespace Freshbooks
{
    public class FreshbooksRestRequest : RestRequest
    {
        public FreshbooksRestRequest()
        {
            RequestFormat = DataFormat.Xml;
            AddHeader("Content-Type", "application/xml");
            XmlSerializer = new FreshbooksXmlSerializer();
        }
    }
}